package tests;

import java.util.HashMap;
import java.util.Random;
import java.util.TreeSet;



import tester.utilities.TesterUtility;
import tests.pojos.Address;
import tests.pojos.Person;

public class Measure {
	
	public static void main(String[] args) throws IllegalArgumentException, IllegalAccessException {
		Random rand = new Random();

		Person[] pArray = new Person[10];
		pArray[0] = new Person("Wes", 23, new Address(203, "Boston Ave",
				"Medford", 02155, "MA"));
		pArray[1] = new Person("Weston Lee", 25, new Address(203,
				"Boston Ave", "Medford", 02155, "MA"));
		pArray[2] = new Person("Weston Lee Jossey", 26, new Address(203,
				"Boston Ave", "Medford", 02155, "MA"));
		Person[] pArrayClone = TesterUtility.objectCopy(pArray);
		
		HashMap<Integer, Integer> hash = new HashMap<Integer, Integer>();
		TreeSet<Integer> ts = new TreeSet<Integer>();
		for(int i = 0; i < 1000; i++){
			ts.add(rand.nextInt(100000));
		}
		for (int i = 0; i < 1000; i++) {
			hash.put(rand.nextInt(10000), rand.nextInt(10000));
		}

		HashMap<Integer, Integer> hashClone 
			= TesterUtility.objectCopy(hash);
		
		TreeSet<Integer> treeClone 
			= TesterUtility.objectCopy(ts);

	}
}
